package com.sita.bike.utils;

import android.provider.Settings;

import com.sita.bike.support.GlobalContext;

/**
 * Class PhoneUtils is for
 *
 * @author xiaodong on 15/3/3.
 */
public class PhoneUtils {
    public static String getUniqueId() {
        String device_unique_id = Settings.Secure.getString(GlobalContext.getGlobalContext().getContentResolver(),
                Settings.Secure.ANDROID_ID);
        return device_unique_id;
    }

    public static String getDeviceId() {
        return LocalStorage.getPushDeviceId();
    }

    public static String getDeviceToken() {
        return LocalStorage.getPushToken();
    }

}
